package com.tourism.admin.entity;

/**
 * @author lin
 * at 2018/3/23 21:52
 * 用户
 */
public class User {

    private int id;
    private int cid;
    private String email;
    private String passwd;
    private String nickname;
    private String icon;
    private String createtime;
    private String integral;
    private String grade;
    private String levelicon;
    private String rolename;
    private String status;

    public User() {
    }


    public User(String email, String passwd, String nickname) {
        this.email = email;
        this.passwd = passwd;
        this.nickname = nickname;
    }
    public User(String email, String passwd, String nickname,String rolename) {
        this.email = email;
        this.passwd = passwd;
        this.nickname = nickname;
        this.rolename = rolename;
    }

    public User(int id, String email, String passwd, String nickname, String createtime, String integral, String grade, String rolename,String status) {
        this.id = id;
        this.email = email;
        this.passwd = passwd;
        this.nickname = nickname;
        this.createtime = createtime;
        this.integral = integral;
        this.grade = grade;
        this.rolename = rolename;
        this.status = status;
    }

    public User(int id,int cid, String email, String passwd, String nickname, String icon, String createtime, String integral, String grade, String levelicon, String rolename,String status) {
        this.id = id;
        this.cid = cid;
        this.email = email;
        this.passwd = passwd;
        this.nickname = nickname;
        this.icon = icon;
        this.createtime = createtime;
        this.integral = integral;
        this.grade = grade;
        this.levelicon = levelicon;
        this.rolename = rolename;
        this.status = status;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public int getCid() {
        return cid;
    }

    public void setCid(int cid) {
        this.cid = cid;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getLevelicon() {
        return levelicon;
    }

    public void setLevelicon(String levelicon) {
        this.levelicon = levelicon;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPasswd() {
        return passwd;
    }

    public void setPasswd(String passwd) {
        this.passwd = passwd;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getCreatetime() {
        return createtime;
    }

    public void setCreatetime(String createtime) {
        this.createtime = createtime;
    }

    public String getIntegral() {
        return integral;
    }

    public void setIntegral(String integral) {
        this.integral = integral;
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }

    public String getRolename() {
        return rolename;
    }

    public void setRolename(String rolename) {
        this.rolename = rolename;
    }
}
